import axios from "../axios.js";
import {language, messages} from "../lang/index.js";
import Avue from '@smallwei/avue';

function setupAvue(app) {
  app.use(Avue, {
    vue: app,
    axios,
    locale: messages[language]
  })
}

export {setupAvue}